package com.ruoyi.backend.service;

import com.ruoyi.backend.dto.RestorationDataUploadDTO;
import com.ruoyi.backend.pojo.RestorationData;
import com.ruoyi.backend.vo.RestorationDataVO;

import java.io.IOException;
import java.time.LocalDate;
import java.util.List;

public interface RestorationDataService {
    void upload(RestorationDataUploadDTO restorationDataUploadDTO) throws IOException;

    void delete(Integer id);

    void update(RestorationData restorationData);

    List<RestorationDataVO> search(Integer restorationId, String reportType, LocalDate startTime, LocalDate endTime, String fileType);

    List<RestorationDataVO> searchAll();
}
